<?php


class ShopPromo {
	private $shop;
	private $stock;
	private $promo;

	function __construct(array $obj) {
		$this->setPromo($obj["promo"]);
		$this->setStock($obj["name"]);
	}


	public function setPromo($promo) {
		$this->promo = $promo;
	}


	public function getPromo() {
		return $this->promo;
	}


	public function setShop($shop) {
		$this->shop = $shop;
	}


	public function getShop() {
		return $this->shop;
	}


	public function setStock($stock) {
		$this->stock = $stock;
	}


	public function getStock() {
		return $this->stock;
	}


}
?>